import request from '@/utils/request'

// 查询目标ST履历列表
export function listStTargetHis(query) {
  return request({
    url: '/ASTManage/stTargetHis/list',
    method: 'get',
    params: query
  })
}

// 查询目标ST履历详细
export function getStTargetHis(dataTime) {
  return request({
    url: '/ASTManage/stTargetHis/' + dataTime,
    method: 'get'
  })
}

// 新增目标ST履历
export function addStTargetHis(data) {
  return request({
    url: '/ASTManage/stTargetHis',
    method: 'post',
    data: data
  })
}

// 修改目标ST履历
export function updateStTargetHis(data) {
  return request({
    url: '/ASTManage/stTargetHis',
    method: 'put',
    data: data
  })
}

// 删除目标ST履历
export function delStTargetHis(dataTime) {
  return request({
    url: '/ASTManage/stTargetHis/' + dataTime,
    method: 'delete'
  })
}
